package cc.wfu.type.common;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.http.HttpStatus;

import java.io.Serializable;

/**
 * @Author: jia-qiang ljq1024.cc
 * @desc: 统一格式返回对象
 * @Date: 2024-04-20-15:32
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Response<T> implements Serializable {

    private HttpStatus code;
    private String info;
    private T data;

}
